package com.firesafe.common.feign;

import com.firesafe.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(name = "firesafe-user")
public interface UserFeign {
    //根据id查用户
    @RequestMapping("/user/user/info/{id}")
    public R info(@PathVariable("id") Integer id);
}
